package xuegao.study.mall.repo.dao.oms;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;
import xuegao.study.mall.common.dto.OmsOrderReturnApplyResult;
import xuegao.study.mall.common.dto.OmsReturnApplyQueryParam;
import xuegao.study.mall.common.model.oms.OmsOrderReturnApply;

import java.util.List;

public interface OmsOrderReturnApplyDao extends BaseMapper<OmsOrderReturnApply> {
    /**
     * 查询申请列表
     */
    List<OmsOrderReturnApply> getList(@Param("queryParam") OmsReturnApplyQueryParam queryParam);
    /**
     * 获取申请详情
     */
    OmsOrderReturnApplyResult getDetail(@Param("id") Long id);
    /**
     * 根据id进行删除
     */
    int deleteByIds(@Param("list") List<Long> ids);
    /**
     * 根据主键跟新
     */
    int updateByPrimary(OmsOrderReturnApply record);
}
